package temp.lho.lws.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import temp.lho.lws.mapper.CarDamageInfoMapper;
import temp.lho.lws.mapper.IBaseMapper;
import temp.lho.lws.pojo.CarDamageInfo;
import temp.lho.lws.service.ICarDamageInfoService;


import java.util.List;

/**
 * (CarDamageInfo)表服务实现类
 *
 * @author makejava
 * @since 2020-07-06 23:15:37
 */
@Service("carDamageInfoService")
public class CarDamageInfoServiceImpl extends BaseServiceImpl<CarDamageInfo> implements ICarDamageInfoService {

    @Autowired
    private CarDamageInfoMapper carDamageInfoMapper;

    @Override
    protected IBaseMapper baseMapper() {
        return carDamageInfoMapper;
    }

    @Override
    public List<CarDamageInfo> findByClaimmainid(Integer claimmainid) {
        return carDamageInfoMapper.findByClaimmainid(claimmainid);
    }
}